/**
 * 模态框插件 - 提供添加/编辑班次的模态框
 */

import type { Plugin } from '../../types'
import { ShiftModal } from './ShiftModal'

export const ModalPlugin: Plugin = {
  id: 'modal',
  name: 'Modal Plugin',
  version: '1.0.0',
  description: '提供添加/编辑班次的模态框',

  component: ShiftModal,

  onInstall(_context) {
    console.log('[ModalPlugin] Installed')
  },

  onEnable(_context) {
    console.log('[ModalPlugin] Enabled')
  },

  onDisable(_context) {
    console.log('[ModalPlugin] Disabled')
  },

  onUninstall(_context) {
    console.log('[ModalPlugin] Uninstalled')
  },
}
